package com.itmk.web.goods_category.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品分类实体类
 * 2023 12 3
 */
@Data
@NoArgsConstructor
@TableName("goods_category")
@AllArgsConstructor
public class GoodsCategory {
    //private static long serialVersionUID = -84056335912219934L;
    @TableId(type = IdType.AUTO)  //表明当前字段是主键
    private Long categoryId;
    private String categoryName;  //分类名称
    private Integer orderNum;  //序号
}
